package com.hyy.bean;


public class Cart {

	private long cid;
  private long uid;
  private long mid;
  private long num;

	public Cart() {
	}

	public Cart(long uid, long mid, long num) {
		this.uid = uid;
		this.mid = mid;
		this.num = num;
	}

	public Cart(long cid, long uid, long mid, long num) {
		this.cid = cid;
		this.uid = uid;
		this.mid = mid;
		this.num = num;
	}

	public long getCid() {
		return cid;
	}

	public void setCid(long cid) {
		this.cid = cid;
	}

	public long getUid() {
    return uid;
  }

  public void setUid(long uid) {
    this.uid = uid;
  }


  public long getMid() {
    return mid;
  }

  public void setMid(long mid) {
    this.mid = mid;
  }


  public long getNum() {
    return num;
  }

  public void setNum(long num) {
    this.num = num;
  }

	@Override
	public String toString() {
		return "Cart{" +
				"uid=" + uid +
				", mid=" + mid +
				", num=" + num +
				'}';
	}
}
